set -o nounset                              # Treat unset variables as an error
echo '
      set terminal epslatex color colortext
    set output "watt_256_streams_2nic_final.tex"
      set xlabel "Time(s)"
      set ylabel "Mb/s Log10"
      set key off
      set logscale y 10
f(x) = mean_y
fit f(x) "data/watt_256_streams_2nic_final" u 1:3 via mean_y
      set label 3 gprintf("Mean = %gMb/s", mean_y) at  60,7000
    
      plot "data/watt_256_streams_2nic_final" using 1:3 with line title "Total","data/watt_256_streams_2nic_final" using 1:9 with line title "testmore0","data/watt_256_streams_2nic_final" using 1:10 with line title "testmore1","data/watt_256_streams_2nic_final" using 1:11 with line title "testmore2","data/watt_256_streams_2nic_final" using 1:12 with line title "testmore3","data/watt_256_streams_2nic_final" using 1:13 with line title "testmore4","data/watt_256_streams_2nic_final" using 1:14 with line title "testmore5","data/watt_256_streams_2nic_final" using 1:15 with line title "testmore6","data/watt_256_streams_2nic_final" using 1:16 with line title "testmore7","data/watt_256_streams_2nic_final" using 1:17 with line title "testmore8","data/watt_256_streams_2nic_final" using 1:18 with line title "testmore9","data/watt_256_streams_2nic_final" using 1:19 with line title "testmore10","data/watt_256_streams_2nic_final" using 1:20 with line title "testmore11","data/watt_256_streams_2nic_final" using 1:21 with line title "testmore12","data/watt_256_streams_2nic_final" using 1:22 with line title "testmore13","data/watt_256_streams_2nic_final" using 1:23 with line title "testmore14","data/watt_256_streams_2nic_final" using 1:24 with line title "testmore15","data/watt_256_streams_2nic_final" using 1:25 with line title "testmore16","data/watt_256_streams_2nic_final" using 1:26 with line title "testmore17","data/watt_256_streams_2nic_final" using 1:27 with line title "testmore18","data/watt_256_streams_2nic_final" using 1:28 with line title "testmore19","data/watt_256_streams_2nic_final" using 1:29 with line title "testmore20","data/watt_256_streams_2nic_final" using 1:30 with line title "testmore21","data/watt_256_streams_2nic_final" using 1:31 with line title "testmore22","data/watt_256_streams_2nic_final" using 1:32 with line title "testmore23","data/watt_256_streams_2nic_final" using 1:33 with line title "testmore24","data/watt_256_streams_2nic_final" using 1:34 with line title "testmore25","data/watt_256_streams_2nic_final" using 1:35 with line title "testmore26","data/watt_256_streams_2nic_final" using 1:36 with line title "testmore27","data/watt_256_streams_2nic_final" using 1:37 with line title "testmore28","data/watt_256_streams_2nic_final" using 1:38 with line title "testmore29","data/watt_256_streams_2nic_final" using 1:39 with line title "testmore30","data/watt_256_streams_2nic_final" using 1:40 with line title "testmore31","data/watt_256_streams_2nic_final" using 1:41 with line title "testmore32","data/watt_256_streams_2nic_final" using 1:42 with line title "testmore33","data/watt_256_streams_2nic_final" using 1:43 with line title "testmore34","data/watt_256_streams_2nic_final" using 1:44 with line title "testmore35","data/watt_256_streams_2nic_final" using 1:45 with line title "testmore36","data/watt_256_streams_2nic_final" using 1:46 with line title "testmore37","data/watt_256_streams_2nic_final" using 1:47 with line title "testmore38","data/watt_256_streams_2nic_final" using 1:48 with line title "testmore39","data/watt_256_streams_2nic_final" using 1:49 with line title "testmore40","data/watt_256_streams_2nic_final" using 1:50 with line title "testmore41","data/watt_256_streams_2nic_final" using 1:51 with line title "testmore42","data/watt_256_streams_2nic_final" using 1:52 with line title "testmore43","data/watt_256_streams_2nic_final" using 1:53 with line title "testmore44","data/watt_256_streams_2nic_final" using 1:54 with line title "testmore45","data/watt_256_streams_2nic_final" using 1:55 with line title "testmore46","data/watt_256_streams_2nic_final" using 1:56 with line title "testmore47","data/watt_256_streams_2nic_final" using 1:57 with line title "testmore48","data/watt_256_streams_2nic_final" using 1:58 with line title "testmore49","data/watt_256_streams_2nic_final" using 1:59 with line title "testmore50","data/watt_256_streams_2nic_final" using 1:60 with line title "testmore51","data/watt_256_streams_2nic_final" using 1:61 with line title "testmore52","data/watt_256_streams_2nic_final" using 1:62 with line title "testmore53","data/watt_256_streams_2nic_final" using 1:63 with line title "testmore54","data/watt_256_streams_2nic_final" using 1:64 with line title "testmore55","data/watt_256_streams_2nic_final" using 1:65 with line title "testmore56","data/watt_256_streams_2nic_final" using 1:66 with line title "testmore57","data/watt_256_streams_2nic_final" using 1:67 with line title "testmore58","data/watt_256_streams_2nic_final" using 1:68 with line title "testmore59","data/watt_256_streams_2nic_final" using 1:69 with line title "testmore60","data/watt_256_streams_2nic_final" using 1:70 with line title "testmore61","data/watt_256_streams_2nic_final" using 1:71 with line title "testmore62","data/watt_256_streams_2nic_final" using 1:72 with line title "testmore63","data/watt_256_streams_2nic_final" using 1:73 with line title "testmore64","data/watt_256_streams_2nic_final" using 1:74 with line title "testmore65","data/watt_256_streams_2nic_final" using 1:75 with line title "testmore66","data/watt_256_streams_2nic_final" using 1:76 with line title "testmore67","data/watt_256_streams_2nic_final" using 1:77 with line title "testmore68","data/watt_256_streams_2nic_final" using 1:78 with line title "testmore69","data/watt_256_streams_2nic_final" using 1:79 with line title "testmore70","data/watt_256_streams_2nic_final" using 1:80 with line title "testmore71","data/watt_256_streams_2nic_final" using 1:81 with line title "testmore72","data/watt_256_streams_2nic_final" using 1:82 with line title "testmore73","data/watt_256_streams_2nic_final" using 1:83 with line title "testmore74","data/watt_256_streams_2nic_final" using 1:84 with line title "testmore75","data/watt_256_streams_2nic_final" using 1:85 with line title "testmore76","data/watt_256_streams_2nic_final" using 1:86 with line title "testmore77","data/watt_256_streams_2nic_final" using 1:87 with line title "testmore78","data/watt_256_streams_2nic_final" using 1:88 with line title "testmore79","data/watt_256_streams_2nic_final" using 1:89 with line title "testmore80","data/watt_256_streams_2nic_final" using 1:90 with line title "testmore81","data/watt_256_streams_2nic_final" using 1:91 with line title "testmore82","data/watt_256_streams_2nic_final" using 1:92 with line title "testmore83","data/watt_256_streams_2nic_final" using 1:93 with line title "testmore84","data/watt_256_streams_2nic_final" using 1:94 with line title "testmore85","data/watt_256_streams_2nic_final" using 1:95 with line title "testmore86","data/watt_256_streams_2nic_final" using 1:96 with line title "testmore87","data/watt_256_streams_2nic_final" using 1:97 with line title "testmore88","data/watt_256_streams_2nic_final" using 1:98 with line title "testmore89","data/watt_256_streams_2nic_final" using 1:99 with line title "testmore90","data/watt_256_streams_2nic_final" using 1:100 with line title "testmore91","data/watt_256_streams_2nic_final" using 1:101 with line title "testmore92","data/watt_256_streams_2nic_final" using 1:102 with line title "testmore93","data/watt_256_streams_2nic_final" using 1:103 with line title "testmore94","data/watt_256_streams_2nic_final" using 1:104 with line title "testmore95","data/watt_256_streams_2nic_final" using 1:105 with line title "testmore96","data/watt_256_streams_2nic_final" using 1:106 with line title "testmore97","data/watt_256_streams_2nic_final" using 1:107 with line title "testmore98","data/watt_256_streams_2nic_final" using 1:108 with line title "testmore99","data/watt_256_streams_2nic_final" using 1:109 with line title "testmore100","data/watt_256_streams_2nic_final" using 1:110 with line title "testmore101","data/watt_256_streams_2nic_final" using 1:111 with line title "testmore102","data/watt_256_streams_2nic_final" using 1:112 with line title "testmore103","data/watt_256_streams_2nic_final" using 1:113 with line title "testmore104","data/watt_256_streams_2nic_final" using 1:114 with line title "testmore105","data/watt_256_streams_2nic_final" using 1:115 with line title "testmore106","data/watt_256_streams_2nic_final" using 1:116 with line title "testmore107","data/watt_256_streams_2nic_final" using 1:117 with line title "testmore108","data/watt_256_streams_2nic_final" using 1:118 with line title "testmore109","data/watt_256_streams_2nic_final" using 1:119 with line title "testmore110","data/watt_256_streams_2nic_final" using 1:120 with line title "testmore111","data/watt_256_streams_2nic_final" using 1:121 with line title "testmore112","data/watt_256_streams_2nic_final" using 1:122 with line title "testmore113","data/watt_256_streams_2nic_final" using 1:123 with line title "testmore114","data/watt_256_streams_2nic_final" using 1:124 with line title "testmore115","data/watt_256_streams_2nic_final" using 1:125 with line title "testmore116","data/watt_256_streams_2nic_final" using 1:126 with line title "testmore117","data/watt_256_streams_2nic_final" using 1:127 with line title "testmore118","data/watt_256_streams_2nic_final" using 1:128 with line title "testmore119","data/watt_256_streams_2nic_final" using 1:129 with line title "testmore120","data/watt_256_streams_2nic_final" using 1:130 with line title "testmore121","data/watt_256_streams_2nic_final" using 1:131 with line title "testmore122","data/watt_256_streams_2nic_final" using 1:132 with line title "testmore123","data/watt_256_streams_2nic_final" using 1:133 with line title "testmore124","data/watt_256_streams_2nic_final" using 1:134 with line title "testmore125","data/watt_256_streams_2nic_final" using 1:135 with line title "testmore126","data/watt_256_streams_2nic_final" using 1:136 with line title "testmore127","data/watt_256_streams_2nic_final" using 1:137 with line title "testmore128","data/watt_256_streams_2nic_final" using 1:138 with line title "testmore129","data/watt_256_streams_2nic_final" using 1:139 with line title "testmore130","data/watt_256_streams_2nic_final" using 1:140 with line title "testmore131","data/watt_256_streams_2nic_final" using 1:141 with line title "testmore132","data/watt_256_streams_2nic_final" using 1:142 with line title "testmore133","data/watt_256_streams_2nic_final" using 1:143 with line title "testmore134","data/watt_256_streams_2nic_final" using 1:144 with line title "testmore135","data/watt_256_streams_2nic_final" using 1:145 with line title "testmore136","data/watt_256_streams_2nic_final" using 1:146 with line title "testmore137","data/watt_256_streams_2nic_final" using 1:147 with line title "testmore138","data/watt_256_streams_2nic_final" using 1:148 with line title "testmore139","data/watt_256_streams_2nic_final" using 1:149 with line title "testmore140","data/watt_256_streams_2nic_final" using 1:150 with line title "testmore141","data/watt_256_streams_2nic_final" using 1:151 with line title "testmore142","data/watt_256_streams_2nic_final" using 1:152 with line title "testmore143","data/watt_256_streams_2nic_final" using 1:153 with line title "testmore144","data/watt_256_streams_2nic_final" using 1:154 with line title "testmore145","data/watt_256_streams_2nic_final" using 1:155 with line title "testmore146","data/watt_256_streams_2nic_final" using 1:156 with line title "testmore147","data/watt_256_streams_2nic_final" using 1:157 with line title "testmore148","data/watt_256_streams_2nic_final" using 1:158 with line title "testmore149","data/watt_256_streams_2nic_final" using 1:159 with line title "testmore150","data/watt_256_streams_2nic_final" using 1:160 with line title "testmore151","data/watt_256_streams_2nic_final" using 1:161 with line title "testmore152","data/watt_256_streams_2nic_final" using 1:162 with line title "testmore153","data/watt_256_streams_2nic_final" using 1:163 with line title "testmore154","data/watt_256_streams_2nic_final" using 1:164 with line title "testmore155","data/watt_256_streams_2nic_final" using 1:165 with line title "testmore156","data/watt_256_streams_2nic_final" using 1:166 with line title "testmore157","data/watt_256_streams_2nic_final" using 1:167 with line title "testmore158","data/watt_256_streams_2nic_final" using 1:168 with line title "testmore159","data/watt_256_streams_2nic_final" using 1:169 with line title "testmore160","data/watt_256_streams_2nic_final" using 1:170 with line title "testmore161","data/watt_256_streams_2nic_final" using 1:171 with line title "testmore162","data/watt_256_streams_2nic_final" using 1:172 with line title "testmore163","data/watt_256_streams_2nic_final" using 1:173 with line title "testmore164","data/watt_256_streams_2nic_final" using 1:174 with line title "testmore165","data/watt_256_streams_2nic_final" using 1:175 with line title "testmore166","data/watt_256_streams_2nic_final" using 1:176 with line title "testmore167","data/watt_256_streams_2nic_final" using 1:177 with line title "testmore168","data/watt_256_streams_2nic_final" using 1:178 with line title "testmore169","data/watt_256_streams_2nic_final" using 1:179 with line title "testmore170","data/watt_256_streams_2nic_final" using 1:180 with line title "testmore171","data/watt_256_streams_2nic_final" using 1:181 with line title "testmore172","data/watt_256_streams_2nic_final" using 1:182 with line title "testmore173","data/watt_256_streams_2nic_final" using 1:183 with line title "testmore174","data/watt_256_streams_2nic_final" using 1:184 with line title "testmore175","data/watt_256_streams_2nic_final" using 1:185 with line title "testmore176","data/watt_256_streams_2nic_final" using 1:186 with line title "testmore177","data/watt_256_streams_2nic_final" using 1:187 with line title "testmore178","data/watt_256_streams_2nic_final" using 1:188 with line title "testmore179","data/watt_256_streams_2nic_final" using 1:189 with line title "testmore180","data/watt_256_streams_2nic_final" using 1:190 with line title "testmore181","data/watt_256_streams_2nic_final" using 1:191 with line title "testmore182","data/watt_256_streams_2nic_final" using 1:192 with line title "testmore183","data/watt_256_streams_2nic_final" using 1:193 with line title "testmore184","data/watt_256_streams_2nic_final" using 1:194 with line title "testmore185","data/watt_256_streams_2nic_final" using 1:195 with line title "testmore186","data/watt_256_streams_2nic_final" using 1:196 with line title "testmore187","data/watt_256_streams_2nic_final" using 1:197 with line title "testmore188","data/watt_256_streams_2nic_final" using 1:198 with line title "testmore189","data/watt_256_streams_2nic_final" using 1:199 with line title "testmore190","data/watt_256_streams_2nic_final" using 1:200 with line title "testmore191","data/watt_256_streams_2nic_final" using 1:201 with line title "testmore192","data/watt_256_streams_2nic_final" using 1:202 with line title "testmore193","data/watt_256_streams_2nic_final" using 1:203 with line title "testmore194","data/watt_256_streams_2nic_final" using 1:204 with line title "testmore195","data/watt_256_streams_2nic_final" using 1:205 with line title "testmore196","data/watt_256_streams_2nic_final" using 1:206 with line title "testmore197","data/watt_256_streams_2nic_final" using 1:207 with line title "testmore198","data/watt_256_streams_2nic_final" using 1:208 with line title "testmore199","data/watt_256_streams_2nic_final" using 1:209 with line title "testmore200","data/watt_256_streams_2nic_final" using 1:210 with line title "testmore201","data/watt_256_streams_2nic_final" using 1:211 with line title "testmore202","data/watt_256_streams_2nic_final" using 1:212 with line title "testmore203","data/watt_256_streams_2nic_final" using 1:213 with line title "testmore204","data/watt_256_streams_2nic_final" using 1:214 with line title "testmore205","data/watt_256_streams_2nic_final" using 1:215 with line title "testmore206","data/watt_256_streams_2nic_final" using 1:216 with line title "testmore207","data/watt_256_streams_2nic_final" using 1:217 with line title "testmore208","data/watt_256_streams_2nic_final" using 1:218 with line title "testmore209","data/watt_256_streams_2nic_final" using 1:219 with line title "testmore210","data/watt_256_streams_2nic_final" using 1:220 with line title "testmore211","data/watt_256_streams_2nic_final" using 1:221 with line title "testmore212","data/watt_256_streams_2nic_final" using 1:222 with line title "testmore213","data/watt_256_streams_2nic_final" using 1:223 with line title "testmore214","data/watt_256_streams_2nic_final" using 1:224 with line title "testmore215","data/watt_256_streams_2nic_final" using 1:225 with line title "testmore216","data/watt_256_streams_2nic_final" using 1:226 with line title "testmore217","data/watt_256_streams_2nic_final" using 1:227 with line title "testmore218","data/watt_256_streams_2nic_final" using 1:228 with line title "testmore219","data/watt_256_streams_2nic_final" using 1:229 with line title "testmore220","data/watt_256_streams_2nic_final" using 1:230 with line title "testmore221","data/watt_256_streams_2nic_final" using 1:231 with line title "testmore222","data/watt_256_streams_2nic_final" using 1:232 with line title "testmore223","data/watt_256_streams_2nic_final" using 1:233 with line title "testmore224","data/watt_256_streams_2nic_final" using 1:234 with line title "testmore225","data/watt_256_streams_2nic_final" using 1:235 with line title "testmore226","data/watt_256_streams_2nic_final" using 1:236 with line title "testmore227","data/watt_256_streams_2nic_final" using 1:237 with line title "testmore228","data/watt_256_streams_2nic_final" using 1:238 with line title "testmore229","data/watt_256_streams_2nic_final" using 1:239 with line title "testmore230","data/watt_256_streams_2nic_final" using 1:240 with line title "testmore231","data/watt_256_streams_2nic_final" using 1:241 with line title "testmore232","data/watt_256_streams_2nic_final" using 1:242 with line title "testmore233","data/watt_256_streams_2nic_final" using 1:243 with line title "testmore234","data/watt_256_streams_2nic_final" using 1:244 with line title "testmore235","data/watt_256_streams_2nic_final" using 1:245 with line title "testmore236","data/watt_256_streams_2nic_final" using 1:246 with line title "testmore237","data/watt_256_streams_2nic_final" using 1:247 with line title "testmore238","data/watt_256_streams_2nic_final" using 1:248 with line title "testmore239","data/watt_256_streams_2nic_final" using 1:249 with line title "testmore240","data/watt_256_streams_2nic_final" using 1:250 with line title "testmore241","data/watt_256_streams_2nic_final" using 1:251 with line title "testmore242","data/watt_256_streams_2nic_final" using 1:252 with line title "testmore243","data/watt_256_streams_2nic_final" using 1:253 with line title "testmore244","data/watt_256_streams_2nic_final" using 1:254 with line title "testmore245","data/watt_256_streams_2nic_final" using 1:255 with line title "testmore246","data/watt_256_streams_2nic_final" using 1:256 with line title "testmore247","data/watt_256_streams_2nic_final" using 1:257 with line title "testmore248","data/watt_256_streams_2nic_final" using 1:258 with line title "testmore249","data/watt_256_streams_2nic_final" using 1:259 with line title "testmore250","data/watt_256_streams_2nic_final" using 1:260 with line title "testmore251","data/watt_256_streams_2nic_final" using 1:261 with line title "testmore252","data/watt_256_streams_2nic_final" using 1:262 with line title "testmore253","data/watt_256_streams_2nic_final" using 1:263 with line title "testmore254","data/watt_256_streams_2nic_final" using 1:264 with line title "testmore255"
' |gnuplot -persist
#!/bin/bash
